package com.up.mongo.core;

/**
 * @Title: Mongo排序字段
 * @Author: fxp
 * @Date: 2022/11/15 14:57
 * @Desc:
 */
public class MongoSortField {
    private String field;
    private Boolean isAsc;

    public MongoSortField(String field, Boolean isAsc){
        this.field = field;
        this.isAsc = isAsc;
    }

    public String getField() {
        return field;
    }

    public Boolean getAsc() {
        return isAsc;
    }
}
